package com.itheima.HomeWork;

public class Demo2Arr {
    public static void main(String[] args) {
        double[] arr = {12.9, 53.54, 75.5, 99.1, 3.14};
        double min = arr[0];
        for (int i = 1; i < arr.length; i++) {

            if (min > arr[i]) {
                min = arr[i];
            }
        }
        System.out.println("数组中最最小的值为" +min);
    }
}
